#pragma once
#include <stdio.h>
#include "TempleteFea.h"


struct sentence{
	vector<int> labels;
	vector<int> word_feas_num;
	vector<span_feature*> word_feas;
	int l;
};

typedef  sentence* fea_sen_bin_ptr;

void write_senbin(FILE* file,vector<sentence_inter>& sens);

void read_senbin(char* path,vector<sentence>& sens,memPool<char>& vec_pools);
